package com.stedu.mall.adminservice.mapper;

import com.stedu.mall.common.bean.Admin;

import java.util.List;

public interface AdminMapper {
    int insert(Admin admin);
    //根据分类id删除
    int delete(Integer id);
    //根据分类的id修改
    int update(Admin admin);
    //根据条件查询
    List<Admin> selectByCondtion(Admin admin);
    //根据分类id查询
    Admin selectById(Integer id);

    Admin selectByUsername(String username);


}
